const api = require('../index')

module.exports = {
    add: (unionid, nickname, head_img_url, gender, city, province, country) => {
        return api.get('/user/add', { unionid, nickname, head_img_url, gender, city, province, country })
    },
    baseInfo: (author_uid) => {
			return api.post('/user/baseinfo', { author_uid })
    },
		headImage: (author_uid) => {
			return api.post('/user/image/head', { author_uid })
		}
}